package algorithm.recursion.tree.sf_tree;

import com.alibaba.fastjson.annotation.JSONField;
import lombok.*;

@Getter
@Setter
@ToString
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class Area extends Node {

    @JSONField(ordinal = 1)
    private Integer areaId;
    @JSONField(ordinal = 2, serialize = false)
    private Integer pid;
    @JSONField(ordinal = 3, serialize = false)
    private String areaCode;
    @JSONField(ordinal = 4)
    private String areaName;
    @JSONField(ordinal = 5)
    private Integer level;

}
